package com.game.main;

import com.game.view.Window2;

import javax.swing.*;
import java.awt.*;


public class GameMain2 {
    public static void main(String[] args) {
        Window2 win = new Window2();
        win.initView();
        win.setTitle("2048[带声音]");
        win.getContentPane().setPreferredSize(new Dimension(400, 500));
        win.getContentPane().setBackground(new Color(0xfaf8ef));
        win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        win.setResizable(false); 
        win.pack();    
        win.setVisible(true);
    }
}
